/**
 * 
 */
package com.agrec.client.actors;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Alaa Gharbawi
 *
 */
public class Company implements IsSerializable {

	private int id;
	private String name;
	private String city;
	private String ownershipType;
	private double annualRevenue;
	private String type;
	private String address;
	private String industry_speciality;
	private int numberOfEmployees;
	private int lastActivityID;
	private String email;
	private String webAddress;
	private String phone;
	private String brands;
	private String subjective;
	private String userName;
	
	public Company() {
		id(0);
		name(new String());
		city(new String());
		ownershipType(new String());
		annualRevenue(0);
		type(new String());
		address(new String());
		industry_speciality(new String());
		numberOfEmployees(0);
		lastActivityID(0);
		email(new String());
		webAddress(new String());
		phone(new String());
		brands(new String());
		subjective(new String());
		userName(new String());
	}
	
	public Company(int id, String name, String city, String ownershipType, 
			int annualRevenue, String type, String address, String industry_speciality, 
			int numberOfEmployees, int lastActivityID, String email, String webAddress, 
			String phone, String brands, String subjective, String userName) {
		id(id);
		name(name);
		city(city);
		ownershipType(ownershipType);
		annualRevenue(annualRevenue);
		type(type);
		address(address);
		industry_speciality(industry_speciality);
		numberOfEmployees(numberOfEmployees);
		lastActivityID(lastActivityID);
		email(email);
		webAddress(webAddress);
		phone(phone);
		brands(brands);
		subjective(subjective);
		userName(userName);
	}
	
	public void id(int id) { this.id = id; }
	public int id() { return id; }
	
	public void name(String name) { this.name = name; }
	public String name() { return name; }
	
	public void city(String city) { this.city = city; }
	public String city() { return city; }
	
	public void ownershipType(String ownershipType) { this.ownershipType = ownershipType; }
	public String ownershipType() { return ownershipType; }
	
	public void annualRevenue(double annualRevenue) { this.annualRevenue = annualRevenue; }
	public double annualRevenue() { return annualRevenue; }
	
	public void type(String type) { this.type = type; }
	public String type() { return type; }
	
	public void address(String address) { this.address = address; }
	public String address() { return address; }
	
	public void industry_speciality(String industry_speciality) { this.industry_speciality = industry_speciality; }
	public String industry_speciality() { return industry_speciality; }
	
	public void numberOfEmployees(int numberOfEmployees) { this.numberOfEmployees = numberOfEmployees; }
	public int numberOfEmployees() { return numberOfEmployees; }
	
	public void lastActivityID(int lastActivityID) { this.lastActivityID = lastActivityID; }
	public int lastActivityID() { return lastActivityID; }
	
	public void email(String email) { this.email = email; }
	public String email() { return email; }
	
	public void webAddress(String webAddress) { this.webAddress = webAddress; }
	public String webAddress() { return webAddress; }
	
	public void phone(String phone) { this.phone = phone; }
	public String phone() { return phone; }
	
	public void brands(String brands) { this.brands = brands; }
	public String brands() { return brands; }
	
	public void subjective(String subjective) { this.subjective = subjective; }
	public String subjective() { return subjective; }
	
	public void userName(String userName) { this.userName = userName; }
	public String userName() { return userName; }

}
